<!--账户列表-->
<template>
  <div class="ele-body"
       style="padding-bottom: 71px">
    <!-- <el-card class="box-card"
             shadow="never">
      <div slot="header"
           class="clearfix">
        <div style="font-weight: 700; font-size: 19px">体现审核</div>
        <div class="selectTime">
          <ul class="timeTab"
              v-for="(item, index) in options"
              :key="index">
            <li :class="[currentIndex == index ? 'active' : '']"
                @click="switchTimeTab(index)">{{ item.value }}</li>
          </ul>

          <div class="filterDate">筛选日期</div>
          <el-date-picker type="daterange"
                          unlink-panels
                          range-separator="至"
                          start-placeholder="开始日期"
                          end-placeholder="结束日期"
                format="yyyy-MM-dd"
                          value-format="yyyy-MM-dd HH:mm:ss"
                          class="ele-fluid" />
        </div>
      </div>
      <div class="applicationInfo">
        <div class="Divider">
          <span>总佣金</span>
          <div>4.50</div>
        </div>
        <div class="Divider">
          <span>未支付</span>
          <div>200</div>
          <div style="font-size: 14px; color: #757575">未支付<span style="color: #ff4d4f"> 20笔</span></div>
        </div>

        <div style="border-right: none"
             class="Divider">
          <span>已支付</span>
          <div>0.01</div>
          <div style="font-size: 14px; color: #757575">已支付<span style="color: #ff4d4f"> 20笔</span></div>
        </div>
      </div>
    </el-card> -->
    <ExcelExport></ExcelExport>
  </div>
</template>

  <script>
import ExcelExport from './components/excel-export.vue';


export default {
  name: "index",
  components: { ExcelExport },
  data () {
    return {
      groupName: '',//账号分组展示
      datetime: [],
      accounts: [],
      // 省市
      provinceCity: '',
      // 当前索引
      currentIndex: 0,
      options: [
        {
          value: '昨天'
        },
        {
          value: '今天'
        },
        {
          value: '明天'
        },
        {
          value: '近七天'
        }
      ],
      // 表单提交状态
      loading: false,
      // 表单数据
      form: {
        username: '',
        limit: 10,
        page: 1,
        type: 1
      },

      initInfo: {
        username: '',
        limit: 10,
        page: 1
      },
      groupList: []
    }
  },
  activated () {
    this.init()
  },
  created () {


  },
  methods: {
    selectVideo (e) {
      console.log("e-----", e)
      this.form.groupId = e.id
      this.groupName = e.groupName
    },

    // 初始化分组
    init () {


    },


  }
}
  </script>

  <style scoped lang="less">
.ele-body {
  min-width: 400px;
}
.box-card {
  .clearfix {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0 0 20px;
    min-width: 960px;
    .selectTime {
      display: flex;
      align-items: center;
      .timeTab {
        display: flex;
        align-items: center;
        margin-right: 20px;
        li {
          list-style-type: none;
          display: block;
          width: 48px;
          text-align: center;
        }
        .active {
          width: 64px;
          height: 26px;
          border-radius: 6px;
          background: #1890ff;
          color: #fff;
          text-align: center;
          line-height: 26px;
        }
      }
      .filterDate {
        text-align: center;
        line-height: 34px;
        width: 90px;
        height: 34px;
        font-size: 14px;
        border-radius: 2px 0px 0px 2px;
        border: 1px solid #d9d9d9;
        border-right: none;
      }
      .ele-fluid {
        width: 300px !important;
      }
    }
  }
}
.applicationInfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  span {
    color: #757575;
    font-size: 14px;
  }
  .Divider {
    text-align: center;
    width: 30%;
    height: 90px;
    border-right: 1px solid #ebebeb;
  }
  div {
    margin: 0px 0 3px 0;
    color: #1e6ceb;

    font-size: 28px;
  }
}
.keyword-top {
  padding: 4px 4px 20px;
  .keyword-title {
    font-size: 20px;
    line-height: 24px;
    margin-right: 20px;
    color: #000000;
  }
  .border {
    border-radius: 5px;
    overflow: hidden;
    .no-select-type,
    .select-type {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 60px;
      padding: 0 5px;
      height: 29px;
    }
    .select-type {
      background: #1e6ceb;
      color: #ffffff;
    }
    .no-select-type {
      border: 1px solid #f5f5f5;
      color: #abafb5;
    }
  }
}
.resetting-btn {
  background: #f5f5f5;
}
</style>
